package com.base.self.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;
/**
* 话费明细
*
* @author XiFYuW
* @since 2020-12-09
*/
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="PhoneBill对象", description="话费明细")
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class PhoneBill implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "id")
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    @ApiModelProperty(value = "代理商id")
    private String parentId;

    @ApiModelProperty(value = "商家id")
    private String shopId;

    @ApiModelProperty(value = "用户id")
    private String userId;

    @ApiModelProperty(value = "创建时间")
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    private Date updateTime;

    @ApiModelProperty(value = "0.未删除 1.已删除")
    private Integer isDel;

    @ApiModelProperty(value = "0.减 1.加")
    private Integer status;

    @ApiModelProperty(value = "描述")
    private String context;

    @ApiModelProperty(value = "备注")
    private String remark;

    @ApiModelProperty(value = "金额")
    private BigDecimal money;

    @ApiModelProperty(value = "变更前余额")
    private BigDecimal balance;


}
